<?php

class DataXAction extends BaseAction {
	
	protected $dataXClient;
	
    public function __construct($actionName, $cmd, $dataXClient) {
    	$this->dataXClient = $dataXClient;
   		parent::__construct($actionName, $cmd);       
    }

    public function execute(ezcWorkflowExecution $execution) {
    	$this->cmd = PYTHON_EXEC . ' ' . $this->dataXClient . "/{$this->cmd}";
 		return parent::execute($execution);
    }
    
    public function getHiveQL() {
    	return $this->hiveQL;
    }
	
}